<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>CK宠物网  个人空间  认证买家资格</title>
    <jsp:include page="top_utils.jsp"></jsp:include>
    <script type="text/javascript" src="${pageContext.request.contextPath}/jquery/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/myplace.css"/>
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/myspace.css">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/my_adopt.css">
  </head>
  
  <body>
 	<!-- 头部-->
	<div class="headnav">
		<div class="topBar">
			<div class="topBarL">
				<jsp:include page="logo.jsp"></jsp:include>
				<div class="nav">
					<ul>
						<li>
							<a href="${pageContext.request.contextPath }/">首页</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath }/news/">新闻</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath }/adopt/">领养</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath }/knowledge/">知识</a>
						</li>
						<li>
							<a href="${pageContext.request.contextPath }/shopping/">商城</a>
						</li>
					</ul>
				</div>
			</div>

			<jsp:include page="topBarR.jsp"></jsp:include>
		</div>
	</div>
 	
	<div id="main" style="background:url('/dogstore/images/${user.backimg}')  no-repeat center top;">
	  <jsp:include page="my_top.jsp"></jsp:include>
	  
	  <div class="layout-body">
	    <div class="w960  clf">   
	      <div class="m_main">
	        <div class="inner centers_mr"> 
	        	<!-- 如果没有通过申请 -->
	     		<c:if test="${user.issale_power == 0 }">
	     			<div class="public_m2">你没有权限发布</div>
	     			<a class="layui-btn layui-btn-small" href="${pageContext.request.contextPath }/user/myspace">返回个人主页</a>
					<a class="layui-btn layui-btn-small" onclick="javascript:history.back(-1);">返回上一步</a>
					<br/>
					<br/>
					<div class="tip_notem">
						<fieldset class="layui-elem-field site-demo-button">
						  <legend>只享受以下业务</legend>
						    <a class="layui-btn layui-btn-radius" href="${pageContext.request.contextPath }/adopt/my_allRecvAdopts">历史领养</a>
						</fieldset>
					</div>
	     		</c:if>
	     		
	     		<!-- 如果已经通过申请 -->
	     		<c:if test="${user.issale_power == 1 }">
	     			<div class="public_m2">你已被授权卖家资格</div>
	     			<a class="layui-btn layui-btn-small" href="${pageContext.request.contextPath }/user/myspace">返回个人主页</a>
					<a class="layui-btn layui-btn-small" onclick="javascript:history.back(-1);">返回上一步</a>
					<br/>
					<br/>
		     		<div class="tip_notem">
		     			<ul>
		     				<li>1. 发布的领养信息不需要审核，但请慎重。</li>
			     			<li>2. 发布领养信息必须真实，否则后台站长prince会打你哦...</li>
		     			</ul>
		     			<br/>
		            	<fieldset class="layui-elem-field site-demo-button">
						  <legend>以下业务</legend>
						    <a class="layui-btn layui-btn-radius" href="${pageContext.request.contextPath }/jsps/client/my_editAdopt.jsp">发布领养信息</a>
						    <a class="layui-btn layui-btn-radius" href="${pageContext.request.contextPath }/adopt/my_allRecvAdopts">历史领养</a>
						    <a class="layui-btn layui-btn-radius" href="${pageContext.request.contextPath }/adopt/my_allSendAdopts">发布的领养</a>
						</fieldset>
		            </div>
	     		</c:if>
	        </div>
	      </div>
	      
	    </div>
	  </div>
	</div>
	
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/my_adopt.css">
	<jsp:include page="footer.jsp"></jsp:include>
  </body>
  <script type="text/javascript" charset="utf-8" src="${pageContext.request.contextPath }/js/head.js"></script>
</html>
